#!/usr/bin/python
# -*- coding: utf-8 -*-

import sys


def myprint(obj, end='\n'):
    sys.stdout.write(str(obj) + end)


def funargs(*args, **kwargs):
    myprint('##position arguments:')
    t = ''
    for arg in args:
        t = t + str(arg)
    myprint(t)
    myprint('##keyword arguments:')
    for (k, v) in kwargs.items():
        myprint('%s=%s' % (k, v))


def main():
    funargs(
        1,
        2,
        3,
        'a',
        'b',
        'c',
        kw1=100,
        kw2=200,
        kw3=300,
        kw4='aa',
        kw5='bb',
        kw6='cc',
        )


if __name__ == '__main__':
    main()
    myprint('done')
